package na.learn.java.corepatterns.caching;

public interface Cache {

	public Object add(Object key, Object value);

	public Object add(Object key, Object value, long timeToLive);

	public Object get(Object key);

	public Object remove(Object key);

	public void clear();

	public String getName();

	public void setName(String name);

	public void print();

	public Cleaner getCleaner();

	public void setCleaner(Cleaner cleaner);

	public int getMax_Cache_Size();

	public void setMax_Cache_Size(int max_Cache_Size);

}